﻿<template>
  <baseUI :isShow="myConfig.isShow" :label="myConfig.label" :showLabel="myConfig.showLabel" :labelSpan="myConfig.labelSpan" :isRequired="myConfig.isRequired" :showErrMsg="showErrMsg" :errMsg="errMsg" :commonConfig="commonConfig">
    <el-input-number v-model="selectedValue"
    :style="myConfig.myStyle"
    :placeholder = "myConfig.other.placeholder"
    controls-position="right"
    :step="myConfig.other.step"
    :precision="myConfig.other.precision"
    :disabled = "!myConfig.isEnable"
    :size = "commonConfig.size"
    :min="myConfig.other.min ? myConfig.other.min : -Infinity"
    :max="myConfig.other.max ? myConfig.other.max : Infinity"
    @change="onChange"></el-input-number>
  </baseUI>
</template>
<script>
import baseComponent from '../baseComponent.vue'
import baseUI from '../baseUI.vue'
export default {
  components: {
    baseComponent, baseUI
  },
  extends: baseComponent,
  mounted () {
  },
  data () {
    return {
    }
  },
  methods: {
    isDataComponent () {
      return true
    }
  }
}
</script>
<style>
</style>
